Skip to content

LT-22124: Fix Sense homographs in Lexical Relations#437

Merged
mark-sil merged 1 commit into
release/9.3from
LT-22124b
Aug 13, 2025
Merged

LT-22124: Fix Sense homographs in Lexical Relations#437
mark-sil merged 1 commit into
release/9.3from
LT-22124b

Conversation

@mark-sil

@mark-sil mark-sil commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

When getting a property value for a field on a ISenseOrEntry object, call the new method added to LCM that determines the specific object (Sense or Entry), and the specific field on that object, that should be queried to get the value.

In this specific defect we are trying to get the HeadWordRef and the ISenseOrEntry is a LexSense. The specific field remains HeadWordRef, but the specific object we need to get the value from is the associated LexEntry. This is because the LexEntry adjusts the HeadWordRef based on the decorator, the LexSense does not.


This change is Reviewable

When getting a property value for a field on a ISenseOrEntry
object, call the new method added to LCM that determines
the specific object (Sense or Entry), and the specific field
on that object, that should be queried to get the value.

In this specific defect we are trying to get the HeadWordRef
and the ISenseOrEntry is a LexSense. The specific field remains
HeadWordRef, but the specific object we need to get the value
from is the associated LexEntry. This is because the LexEntry
adjusts the HeadWordRef based on the decorator, the LexSense
does not.

Change-Id: I51ee3b35d5b2482dda4a840e89700d14acda8994

@jasonleenaylor jasonleenaylor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @mark-sil)

@mark-sil mark-sil merged commit dd6900d into release/9.3 Aug 13, 2025
5 checks passed
@mark-sil mark-sil deleted the LT-22124b branch August 13, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants